package com.day5.t2;

/**
 * 接雨水
 */
public class Main {
    //每个柱子能接的雨水其实就算，就是它左右两边柱子中较低的柱子减去它自身高度
    public int trap(int[] height) {
        int n = height.length;
        int[] left = new int[n], right = new int[n];
        return 0;
    }
}
